package com.zretc.entity;

/**
 * @author 陈波
 * 影片演员关系表
 */
public class FilmActor {
    // 影片演员关系编号
    private Integer filmActorId;
    // 影片对象
    private Film film;
    // 演员对象
    private Actor actor;

    public FilmActor() {
        super();
    }

    public FilmActor(Integer filmActorId, Film film, Actor actor) {
        this.filmActorId = filmActorId;
        this.film = film;
        this.actor = actor;
    }

    public Integer getFilmActorId() {
        return filmActorId;
    }

    public void setFilmActorId(Integer filmActorId) {
        this.filmActorId = filmActorId;
    }

    public Film getFilm() {
        return film;
    }

    public void setFilm(Film film) {
        this.film = film;
    }

    public Actor getActor() {
        return actor;
    }

    public void setActor(Actor actor) {
        this.actor = actor;
    }

    @Override
    public String toString() {
        return "FilmActor{" +
                "filmActorId=" + filmActorId +
                ", film=" + film +
                ", actor=" + actor +
                '}';
    }
}
